cmake_minimum_required(VERSION 3.18)

set(testWebSocket_SOURCES)
list(APPEND testWebSocket_SOURCES 
	testWebSocket.cpp)

#link_directories(${OPENSSL_LIB_PATH})

add_executable(testWebSocket ${testWebSocket_SOURCES})

target_include_directories(testWebSocket PUBLIC
		"${testWebSocket_SOURCE_DIR}"
		"${MessageProxy_SOURCE_DIR}/include"
		${LIBWEBSOCKETS_INCLUDE_DIRS}
		${OPENSSL_INCLUDE_DIR})

target_link_libraries(testWebSocket
	MessageProxyStatic
	#/home/release/3rdlib/gk72020330/zlib-1.3/lib/libz.so
	)

install(TARGETS testWebSocket
      RUNTIME DESTINATION test
      ARCHIVE  DESTINATION static
      LIBRARY DESTINATION lib)
